package com.java.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * @author jl
 * Created on 2020/7/12
 */
@Data
public class SearchParam {

    private String keyword;
    private Long catalog3Id;
    /**
     * sort=saleCount_asc/desc
     * sort=skuPrice_asc/desc
     * sort=hotScore_asc/desc 综合
     */
    private String sort;
    /**
     * 是否只显示有货
     * 0无库存 1有库存
     */
    private Integer hasStock;
    /**
     * 价格区间查询
     * skuPrice=1_500/_500/500_
     */
    private String skuPrice;
    /**
     * 按照品牌查询,可以多选
     */
    private List<Long> brandId;
    /**
     * 按照属性进行筛选
     */
    private List<String> attrs;

    private Integer pageNum = 1;

    private String _queryString;
}
